package com.olddriver.crm.mapper;

import com.olddriver.crm.domain.Carproduct;
import com.olddriver.crm.query.CarproductQueryObject;
import java.util.List;

public interface CarproductMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Carproduct record);

    Carproduct selectByPrimaryKey(Long id);

    List<Carproduct> selectAll();

    int updateByPrimaryKey(Carproduct record);

    int queryForTotal(CarproductQueryObject qo);

    List<?> queryForRows(CarproductQueryObject qo);

    void changeState(Long id);


    List<Carproduct> getCarproductByMechId(Long id);
}